package com.zmzncs.lmtc.module.park.pojo.reserve_record;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 预约记录表
 * </p>
 *
 * @author 高博文
 * @since 2020-12-15
 */
@Data
public class ReserveRecordManageForm implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "页码",required = true)
    @NotNull
    private Integer currentPage;

    @ApiModelProperty(value = "每页记录数",required = true)
    @NotNull
    private Integer pageSize;

    @ApiModelProperty(value = "会员昵称/手机号")
    private String keyword;

    @ApiModelProperty(value = "车牌号")
    private String carNumber;

    @ApiModelProperty(value = "预约状态（ 1：申请中  2：预约通过 3：预约驳回 4：申请退款 5：退款完成 6：正常结束（车正常入位） 7：未正常结束 ）")
    private Integer status;

    @ApiModelProperty(value = "预约入场开始时间")
    private String beginTime;

    @ApiModelProperty(value = "预约入场结束时间")
    private String endTime;

    public Page getPage() {
        return new Page(currentPage, pageSize);
    }
}
